
package kalkon;

import java.net.URL;
import java.util.Map;

/**
 * Configuration holder.
 * @author tommz
 */
public class Configuration {

    /**
     * @return the inputModules
     */
    public Map<String, String> getInputModules() {
        return inputModules;
    }

    /**
     * @param inputModules the inputModules to set
     */
    public void setInputModules(Map<String, String> inputModules) {
        this.inputModules = inputModules;
    }

    /**
     * @return the outputMethod
     */
    public OutputMethods getOutputMethod() {
        return outputMethod;
    }

    /**
     * @param outputMethod the outputMethod to set
     */
    public void setOutputMethod(OutputMethods outputMethod) {
        this.outputMethod = outputMethod;
    }

    /**
     * @return the outputMethodOptions
     */
    public Map<String, String> getOutputMethodOptions() {
        return outputMethodOptions;
    }

    /**
     * @param outputMethodOptions the outputMethodOptions to set
     */
    public void setOutputMethodOptions(Map<String, String> outputMethodOptions) {
        this.outputMethodOptions = outputMethodOptions;
    }

    /**
     * @return the rootUrl
     */
    public URL getRootUrl() {
        return rootUrl;
    }

    /**
     * @param rootUrl the rootUrl to set
     */
    public void setRootUrl(URL rootUrl) {
        this.rootUrl = rootUrl;
    }

    /**
     * @return the databaseLocation
     */
    public String getDatabaseLocation() {
        return databaseLocation;
    }

    /**
     * @param databaseLocation the databaseLocation to set
     */
    public void setDatabaseLocation(String databaseLocation) {
        this.databaseLocation = databaseLocation;
    }

    /**
     * @return the applicationLocation
     */
    public String getApplicationLocation() {
        return applicationLocation;
    }

    /**
     * @param applicationLocation the applicationLocation to set
     */
    public void setApplicationLocation(String applicationLocation) {
        this.applicationLocation = applicationLocation;
    }

    public enum OutputMethods {
        FTP, LOCAL
    }

    /**
     * Map < path_to_jar , java_path >
     */
    private Map<String, String> inputModules;

    private OutputMethods outputMethod;
    private URL rootUrl;
    private Map<String, String> outputMethodOptions;

    private String databaseLocation;
    private String applicationLocation;

}
